home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / glibc108.zip / glibc108 / NEWS < prev    next >
Text File  |  1994-05-16  |  11KB  |  249 lines

  1. GNU C Library NEWS -- history of user-visible changes.  16 May 1994
  2.  
  3. Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  4. See the end for copying conditions.
  5.  
  6. Please send GNU C library bug reports to bug-glibc@prep.ai.mit.edu.
  7.  
  8. Version 1.08
  9.  
  10. * The C library now includes support for Sun RPC, from Sun's free
  11.   RPCSRC-4.0 distribution.  The `portmap', `rpcinfo', and `rpcgen' programs
  12.   are included.  (There is still no support for YP.)
  13.  
  14. * Tom Quinn has contributed a port of the C library to SGI machines running
  15.   Irix 4 (mips-sgi-irix4).
  16.  
  17. * The new `lockf' function is a simplified interface to the locking
  18.   facilities of `fcntl', included for compatibility.
  19.  
  20. * New time functions `timegm', `timelocal', and `dysize' for compatibility.
  21.  
  22. * New header file <sys/timeb.h> and new function `ftime' for compatibility.
  23.  
  24. * New header files <poll.h> and <sys/poll.h> and new function `poll' for
  25.   compatibility.
  26.  
  27. * The error message printed by `assert' for a failed assertion now includes
  28.   the name of the program (if using GNU ld) and the name of the calling
  29.   function (with versions of GCC that support this).
  30.  
  31. * The `psignal' function is now declared in <signal.h>, not <stdio.h>.
  32.  
  33. * The library now includes the <sys/mman.h> header file and memory
  34.   management functions `mmap', `munmap', `mprotect', `msync', and
  35.   `madvise', on systems that support those facilities.
  36.  
  37. * The interface for `mcheck' has changed slightly: the function called to
  38.   abort the program when an allocation inconsistency is detected now takes
  39.   an argument that indicates the type of failure.  The new function
  40.   `mprobe' lets you request a consistency check for a particular block at
  41.   any time (checks are normally done only when you call `free' or `realloc'
  42.   on a block).
  43.  
  44. * It is now possible to easily cross-compile the C library, building on one
  45.   system a library to run on another machine and/or operating system.  All
  46.   you need to do is set the variable `HOST_CC' in `configparms' to the
  47.   native compiler for programs to run on the machine you are building on (a
  48.   few generator programs are used on Unix systems); set `CC' to the
  49.   cross-compiler.
  50.  
  51. * The new function `fexecve' (only implemented on the GNU system) executes
  52.   a program file given a file descriptor already open on the file.
  53.  
  54. Version 1.07
  55.  
  56. * Brendan Kehoe has contributed most of a port to the DEC Alpha
  57.   running OSF/1 (alpha-dec-osf1).  He says it is 75% complete.
  58.  
  59. * You can set the variable `libprefix' in `configparms' to specify a prefix
  60.   to be prepended to installed library files; this makes it easy to install
  61.   the GNU C library to be linked as `-lgnuc' or whatever.
  62.  
  63. * The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
  64.   copies a limited number of characters from a string, and returns the
  65.   address of the last character written.
  66.  
  67. * You no longer need to check for whether the installed `stddef.h' is
  68.   compatible with the GNU C library.  configure now checks for you.
  69.  
  70. * You can now define a per-stream `fileno' function to convert the
  71.   stream's cookie into an integral file descriptor.
  72.  
  73. * ``malloc (0)'' no longer returns a null pointer.  Instead, it
  74.   allocates zero bytes of storage, and returns a unique pointer which
  75.   you can pass to `realloc' or `free'.  The behavior is undefined if
  76.   you dereference this pointer.
  77.  
  78. * The C library now runs on Sony NEWS m68k machines running either
  79.   NewsOS 3 or NewsOS 4.
  80.  
  81. * The new `syscall' function is a system-dependent primitive function
  82.   for invoking system calls.  It has the canonical behavior on Unix
  83.   systems, including unreliable return values for some calls (such as
  84.   `pipe', `fork' and `getppid').
  85.  
  86. * The error code `EWOULDBLOCK' is now obsolete; it is always defined
  87.   to `EAGAIN', which is the preferred name.  On systems whose kernels
  88.   use two distinct codes, the C library now translates EWOULDBLOCK to
  89.   EAGAIN in every system call function.
  90.  
  91. Version 1.06
  92.  
  93. * The GNU C Library Reference Manual is now distributed with the library.
  94.   `make dvi' will produce a DVI file of the printed manual.
  95.   `make info' will produce Info files that you can read on line using C-h i
  96.   in Emacs or the `info' program.
  97.   Please send comments on the manual to bug-glibc-manual@prep.ai.mit.edu.
  98.  
  99. * The library now supports SVR4 on i386s (i386-unknown-sysv4).
  100.  
  101. * Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
  102.  
  103. * Jason Merrill has contributed a port to the Sequent Symmetry running
  104.   Dynix version 3 (i386-sequent-dynix).
  105.  
  106. * The library has been ported to i386s running SCO 3.2.4 (also known as SCO
  107.   ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
  108.  
  109. * New function `memory_warnings' lets you arrange to get warnings when
  110.   malloc is running out of memory to allocate, like Emacs gives you.
  111.  
  112. * The C library now contains the relocating allocator used in Emacs 19 for
  113.   its editing buffers.  This allocator (ralloc) minimizes allocation
  114.   overhead and fragmentation by moving allocated regions around whenever it
  115.   needs to.  You always refer to a ralloc'd region with a "handle" (a
  116.   pointer to a pointer--an object of type `void **').
  117.  
  118. * There is a new `printf' format: `%m' gives you the string corresponding
  119.   to the error code in `errno'.
  120.  
  121. * In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
  122.   or `%[' conversion, but instead of filling in a fixed-sized buffer you
  123.   pass, the `a' modifier says to fill in a `char **' you pass with a
  124.   malloc'd string.
  125.  
  126. * The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
  127.   `FNM_CASEFOLD'.  `FNM_LEADING_DIR' lets a pattern like `foo*' match a
  128.   name like `foo/bar'.  `FNM_CASEFOLD' says to ignore case in matching.
  129.  
  130. * `mkstemp' is a traditional Unix function to atomically create and open a
  131.   uniquely-named temporary file.
  132.  
  133. Version 1.05
  134.  
  135. * The standard location for the file that says what the local timezone is
  136.   has changed again.  It is now `/usr/local/etc/localtime' (or more
  137.   precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
  138.  
  139. * The distribution no longer contains any files with names longer than 14
  140.   characters.
  141.  
  142. * `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
  143.   These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
  144.  
  145. * New functions `ttyslot' and `syslog' from 4.4 BSD.
  146.  
  147. Version 1.04
  148.  
  149. * The configuration process has changed quite a bit.  The `configure'
  150.   script is now used just like the configuration scripts for other GNU
  151.   packages.  The `sysdeps' directory hierarchy is much rearranged.
  152.   The file `INSTALL' explains the new scheme in detail.
  153.  
  154. * The header files no longer need to be processed into ANSI C and
  155.   traditional C versions.  There is just one set of files to install, and
  156.   it will work with ANSI or old C compilers (including `gcc -traditional').
  157.  
  158. * Brendan Kehoe and Ian Lance Taylor have ported the library to the
  159.   MIPS DECStation running Ultrix 4.
  160.  
  161. * The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
  162.   Tom Quinn contributed the initial code.  The GNU C library can NOT yet be
  163.   made itself into a shared library.
  164.  
  165. * Yet further improved support for the i386, running 4.3 BSD-like systems
  166.   (such as Mach 3 with the Unix single-server), or System V.
  167.  
  168. * New function `strncasecmp' to do case-insensitive string comparison
  169.   with limited length.
  170.  
  171. * New function `strsep' is a reentrant alternative to `strtok'.
  172.  
  173. * New functions `scandir' and `alphasort' for searching directories.
  174.  
  175. * New function `setenv' is a better interface to `putenv'.
  176.  
  177. * Ian Lance Taylor has contributed an implementation of the SVID `ftw'
  178.   function for traversing a directory tree.
  179.  
  180. * The GNU obstack package is now also part of the C library.
  181.   The new function `open_obstack_stream' creates a stdio stream that
  182.   writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
  183.   formatted output directly to an obstack.
  184.  
  185. * Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
  186.   cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
  187.  
  188. * `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
  189.  
  190. * The new functions `strfry' and `memfrob' do mysterious and wonderful
  191.   things to your strings.
  192.  
  193. * There are some new test programs: test-fseek, testmb, and testrand.
  194.  
  195. * Some work has been done to begin porting the library to 4.4 BSD and Linux.
  196.   These ports are not finished, but are a good starting place for really
  197.   supporting those systems.
  198.  
  199. * `/etc/localtime' is now the standard location for the file that says what
  200.   the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
  201.   This follows the general principle that `/etc' is the place for all local
  202.   configuration files.
  203.  
  204. * The C library header files now use `extern "C"' when used by the C++
  205.   compiler, so the C library should now work with C++ code.
  206.  
  207. * The header file <bstring.h> is gone.  <string.h> now declares bcopy,
  208.   bcmp, bzero, and ffs.  
  209.  
  210. * Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
  211.   function which uses the `merge sort' algorithm, and is said to be
  212.   significantly faster than the old GNU `qsort' function.  Merge sort is
  213.   now the standard `qsort' function.  The new algorithm can require a lot
  214.   of temporary storage; so, the old sorting function is called when the
  215.   required storage is not available.
  216.  
  217. * The C library now includes Michael Glad's Ultra Fast Crypt, which
  218.   provides the Unix `crypt' function, plus some other entry points.
  219.   Because of the United States export restriction on DES implementations,
  220.   we are distributing this code separately from the rest of the C library.
  221.   There is an extra distribution tar file just for crypt; it is called
  222.   `glibc-VERSION-crypt.tar.Z', e.g. `glibc-1.04-crypt.tar.Z'.  You can just
  223.   unpack the crypt distribution along with the rest of the C library and
  224.   build; you can also build the library without getting crypt.  Users
  225.   outside the USA can get the crypt distribution via anonymous FTP from
  226.   ftp.uni-c.dk [129.142.6.74], or another archive site outside the U.S.
  227.  
  228. * The code and header files taken from 4.4 BSD have been updated with the
  229.   latest files released from Berkeley.
  230.  
  231. ----------------------------------------------------------------------
  232. Copyright information:
  233.  
  234. Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  235.  
  236.    Permission is granted to anyone to make or distribute verbatim copies
  237.    of this document as received, in any medium, provided that the
  238.    copyright notice and this permission notice are preserved,
  239.    thus giving the recipient permission to redistribute in turn.
  240.  
  241.    Permission is granted to distribute modified versions
  242.    of this document, or of portions of it,
  243.    under the above conditions, provided also that they
  244.    carry prominent notices stating who last changed them.
  245.  
  246. Local variables:
  247. version-control: never
  248. end:
  249.